package com.ly.pojo;

public class SysUserRole {

  private Long userId;
  private Long roleId;


  public SysUserRole() {
  }

  public SysUserRole(Long userId, Long roleId) {
    this.userId = userId;
    this.roleId = roleId;
  }

  /**
   * 获取
   * @return userId
   */
  public Long getUserId() {
    return userId;
  }

  /**
   * 设置
   * @param userId
   */
  public void setUserId(Long userId) {
    this.userId = userId;
  }

  /**
   * 获取
   * @return roleId
   */
  public Long getRoleId() {
    return roleId;
  }

  /**
   * 设置
   * @param roleId
   */
  public void setRoleId(Long roleId) {
    this.roleId = roleId;
  }

  public String toString() {
    return "SysUserRole{userId = " + userId + ", roleId = " + roleId + "}";
  }
}
